import time

from selenium import webdriver
driver = webdriver.Chrome()
driver.get("http://www.baidu.com")
time.sleep(3)
driver.find_element("id","s-usersetting-top").click()#点击右上角设置
# a=driver.find_element("partial link text","设置")
# print(a.text)
# a.click()
time.sleep(3)
driver.find_element("class name","set").click()#点击搜索测试
time.sleep(3)
driver.find_element("class name","c-radio-input").click()
time.sleep(3)
driver.find_element("class name","item cur").click()#点击高级搜索
